import instance from "@/axios";

export const getCommentPageList = (data) => {
    return instance({
        url: '/admin/comment/list',
        method: 'POST',
        data
    })
}

export const deleteComment = (id) => {
    return instance({
        url: '/admin/comment/delete',
        method: 'POST',
        data: {id}
    })
}

export const examineComment = (data) => {
    return instance({
        url: '/admin/comment/examine',
        method: 'POST',
        data
    })
}